<script lang="ts" setup>
import { computed, onMounted, ref } from 'vue'
import {getUserList} from '@/api/yonghu/yonghuList'



//获取数据
const tableData = ref([])

onMounted(() => {
    getUserList().then((res)=>{
        tableData.value=Object.values(res.data.data)
    })
})






</script>

<template>
<el-table :data="tableData" style="width: 100%">
    <el-table-column label="ID" prop="id" />
    <!-- //收件人和消息标题不知道 -->
    <el-table-column label="Name" prop="name" />
    <el-table-column align="right">
      
    
    </el-table-column>
  </el-table>


</template>

<style lang="less" scoped>
</style>
